package com.young.shop.utils;

import org.apache.commons.dbutils.BasicRowProcessor;
import org.apache.commons.dbutils.BeanProcessor;
import org.apache.commons.dbutils.GenerousBeanProcessor;
import org.apache.commons.dbutils.RowProcessor;

public class Utils {
    //驼峰映射
    private static BeanProcessor bean = new GenerousBeanProcessor();
    private static RowProcessor processor = new BasicRowProcessor(bean);

    //获取驼峰映射
    public static RowProcessor getRowProcessor(){
        return processor;
    }
}
